$test1 = $('.test1')

$test1.animate({
	marginLeft:"+=250px",
	backgroundColor:"red",
	fontSize:"25px"
},{
    duration: 2000,
    specialEasing: {
      width: "linear",
      height: "easeOutBounce"
    },
    complete: function() {
      $( this ).after( "<div>Animation complete.</div>" );
    }
  });